home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 15
/
Aminet 15 - Nov 1996.iso
/
Aminet
/
dev
/
gcc
/
ixemsdk.lha
/
man
/
cat3
/
ldexp.0
< prev
next >
Wrap
Text File
|
1996-09-02
|
1KB
|
31 lines
LDEXP(3) UNIX Programmer's Manual LDEXP(3)
NNAAMMEE
llddeexxpp - multiply floating-point number by integral power of 2
SSYYNNOOPPSSIISS
##iinncclluuddee <<mmaatthh..hh>>
_d_o_u_b_l_e
llddeexxpp(_d_o_u_b_l_e _x, _i_n_t _e_x_p)
DDEESSCCRRIIPPTTIIOONN
The llddeexxpp() function multiplies a floating-point number by an integral
power of 2.
RREETTUURRNN VVAALLUUEESS
The llddeexxpp() function returns the value of _x times 2 raised to the power
_e_x_p.
If the resultant value would cause an overflow, the global variable _e_r_r_n_o
is set to ERANGE and the value HUGE is returned.
SSEEEE AALLSSOO
frexp(3), modf(3), math(3)
SSTTAANNDDAARRDDSS
The llddeexxpp() function conforms to ANSI C3.159-1989 (``ANSI C'').
BSD Experimental April 19, 1994 1